


frame .content -bg #EFEBE7 

frame .content.left -pady 2 -padx 2 
frame .content.left.frameSalons
# Liste des salons
listbox .content.left.frameSalons.listeSalons -background white -selectbackground #D8DADF -selectborderwidth 0 -activestyle dotbox -selectmode single -exportselection 0 -relief sunken -font {Bitstream-Vera-Sans 10 } -yscrollcommand ".content.left.frameSalons.scrollv set" 
scrollbar .content.left.frameSalons.scrollv -orient vertical -command ".content.left.frameSalons.listeSalons yview" -width 4
pack .content.left.frameSalons.scrollv -side left -fill y -expand 1
		
bind .content.left.frameSalons.listeSalons "<<ListboxSelect>>" callbackConnexionSalon
pack .content.left.frameSalons.listeSalons -side left  -expand no  -fill y 
pack .content.left.frameSalons -side left -expand no  -fill y 

pack .content.left -side left -expand no  -fill y 



frame .content.center -pady 2 -padx 2

frame .content.center.frameMessages
# Affichage des messages
NoteBook .content.center.frameMessages.notebookMessages -arcradius 0 -tabbevelsize 0 -homogeneous 1 -internalborderwidth 0  -activebackground #D8DADF  -font {Bitstream-Vera-Sans 10}
		.content.center.frameMessages.notebookMessages bindtabs <1> callbackChangementSalon
		.content.center.frameMessages.notebookMessages bindtabs <ButtonPress-3> callbackDeconnexionSalon

#image create photo mouche -file  [file join $var_config_cheminAbsolu mouche.gif]
#label .content.center.frameMessages.notebookMessages.img -image mouche 
#pack .content.center.frameMessages.notebookMessages.img

pack .content.center.frameMessages.notebookMessages -side top  -expand yes -fill both
pack .content.center.frameMessages -side top -expand yes  -fill both

#text .content.center.frameMessages.messages -background white

frame .content.center.frameEnvoi
# Zone de saisie d'un message
entry .content.center.frameEnvoi.message -background white -textvariable var_messageEnvoye  -relief sunken -highlightthickness 0 -font {Bitstream-Vera-Sans 10 }
bind .content.center.frameEnvoi.message <Return> callbackEnvoyerMessage
pack .content.center.frameEnvoi.message -side left -expand yes  -fill x

pack .content.center.frameEnvoi -side top -expand no  -fill x


pack .content.center -side left -expand yes   -fill both

frame .content.right -pady 2 -padx 2 
frame .content.right.frameUsers

#Liste des voisins
listbox .content.right.frameUsers.listeVoisins -background white -selectbackground #D8DADF -selectborderwidth 0 -activestyle dotbox -selectmode single -exportselection 0  -relief sunken  -font {Bitstream-Vera-Sans 10 }  -yscrollcommand ".content.right.frameUsers.scrollv set" 
scrollbar .content.right.frameUsers.scrollv2 -orient vertical -command ".content.right.frameUsers.listeVoisins yview" -width 4
pack .content.right.frameUsers.scrollv2 -side right -fill y -expand 1
pack .content.right.frameUsers.listeVoisins -side right  -expand no  -fill y 


# Liste des users
listbox .content.right.frameUsers.listeUsers -background white -selectbackground #D8DADF -selectborderwidth 0 -activestyle dotbox -selectmode single -exportselection 0  -relief sunken  -font {Bitstream-Vera-Sans 10 }  -yscrollcommand ".content.right.frameUsers.scrollv set" 
scrollbar .content.right.frameUsers.scrollv -orient vertical -command ".content.right.frameUsers.listeUsers yview" -width 4
pack .content.right.frameUsers.scrollv -side right -fill y -expand 1
pack .content.right.frameUsers.listeUsers -side right  -expand no  -fill y 
pack .content.right.frameUsers -side right -expand no  -fill y 

pack .content.right -side right -expand no  -fill y 



pack .content   -fill both -expand yes -side top

focus .content.center.frameEnvoi.message



